package lormi.meipin.dao;

import lormi.meipin.entity.School;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SchoolMapper {
	
    School selectByPrimaryKey(Integer id);

    int selectListCount(@Param("specialclassid") String specialclassid,
                        @Param("level") Integer level, @Param("code") String code);
    
    List<School> selectList(@Param("specialclassid") String specialclassid,
                            @Param("level") Integer level, @Param("code") String code, @Param("start") Integer start, @Param("pageSize") Integer pageSize);
}